<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Users
 *
 * @property int $id 用户标识
 * @property string|null $username 用户名
 * @property string|null $email 用户邮箱
 * @property string|null $phone 用户电话
 * @property string|null $wx_unionid unionid 针对微信登录用户
 * @property string|null $wx_openid openid 针对微信登录用户
 * @property string|null $wx_session_key 微信返回的状态
 * @property string $password 密码
 * @property string|null $user_key 管理员用户标识
 * @property string $reg_ip 注册ip
 * @property string $reg_time 注册时间
 * @property string|null $login_ip 最后登录ip
 * @property string|null $login_time 最后登录时间
 * @property int|null $login_count 登录次数
 * @property int $role 登录角色
 * @property int $status 用户状态,0锁定,1正常
 * @property string|null $remember_token
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereEmail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereLoginCount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereLoginIp($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereLoginTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users wherePassword($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereRegIp($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereRegTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereRememberToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereRole($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereUserKey($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereUsername($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereWxOpenid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereWxSessionKey($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Users whereWxUnionid($value)
 * @mixin \Eloquent
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Users onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Query\Builder|\App\Users withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Users withoutTrashed()
 */
class Users extends Model
{
    //
    protected $table="users";
    use SoftDeletes;
}
